import request from "../utils/request";
// 获取所有分类
export const getAllTreeList = (params) => {
  return request.post("/treehole/all/", { params });
};
//点赞文章
export const likeTreeArticle = (params) => {
  return request.post("/treehole/likeTreeArticle/", params);
};
//发表评论
export const addTreeComment = (params) => {
  return request.post("/treehole/addComment/", params);
};
